<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

#首页相关
Route::group('index', function () {
    Route::post('register', 'speedDating/index.index/register');//会员注册
    Route::post('login', 'speedDating/index.index/login');//会员登录

});

#用户相关
Route::group('member', function () {
    Route::get('detail', 'speedDating/member.member/detail');//会员详情
    Route::post('detail/update', 'speedDating/member.member/update');//会员修改信息
    Route::post('utils/upload', 'speedDating/member.utils/upload');//上传图片
})->middleware('authorization');

#后台
Route::group('staff', function () {

});
